remove superfluous closing parenthesis