fixing validate_bool syntax, cannot put in error message