Syntax errors fixed