fixed all the syntax errors