fixed head error