Fix dirty recovery.