Corrected compiler warning