fix missing closing parentheses