add boolean expression
fix error