fix expr in condition