Fix the bug of watcher lock and stat mechanism

修复了watcher锁与stat机制