fixed head merge