fix attempt on restore error