Fix unary operator expected bug