changed loading a tiny bit- doesn't crash any more