fix updater crash in release