syntax errors fixed