Fix crash when "upgrading"