Fixed Head mismatch syntax error