corrected a boolean value