fixed a syntax error with the head