fix syntax error missing '}' on line 37