remove extra parenthesses too