fix trailing parenthesis