fixed boolean expression