remove wrong close parenthesis