fixing extra parentheses