fix2 to upgrade.sh