remove extra parenthesis