Corrected a bug at line 236

wrong BOOL value