insert missing right paren