replace head to get