remove extra closing parenthesis