fixed the crash on the update system