fix corrupted files