fix unclosed parens