fix a watcher bug