file watcher fix