implemented environment-level undo of set-watcher