add last missing parens