restoring previous modifications