fixed file watcher issue