fix crash on startup with invalid disk in history