restoring previous changes