correct head syntax error