fix unary minus issue