fixing parentheses