fix always prompt upgrade