fix some bug in code watcher