handle unary arithmetic operations correctly