watcher hotfix for NaN in path