fix boolean expression, constant style