removes stray parenthesis