fix trailing error with unary operator precedence