Fix dependency issue for watch.