Fixed the syntax errors