fixed bugs in-editor upgrades