fixed missing closing parenthesis and semicolon