fixed upgradeHead copy