add missing close paren