fixed head error again