watcher fix for windows