clean data after crashed