replacing the corrupted versions