fix automated precise upgrade.