fix unary check