Fix crash on loading Valley