bug fixes to updater.
fixed crash on startup