Removing excessive parenthesis