Fixed bug in syncUpgradeSystem