fixed syntax error unclosed brace