Persistence repair