fixed syntax error console