remove unmatched paren