bool cleanup

more properly use bool type