bugfix unmatched parentheses