fix watcher not looping