fix file watcher