fix upgradestep