Correcting boolean