fix watchdoc