fix crash if save data can't be loaded