- remove erroneous r-parentheses