fixed watcher.py crashing.