FIX: Crash on loading in some cases.