correction for missing close parenthesis