data corruption fix