Fix crash recovery.