fixed all syntax errors