Removes extra parentheses