Fixing trailing parenthesis