fixed the syntax errors