Fix unmatched parentheses