fixed crash when savefile is empty or nonexistent