fix DocManager refresh.

latest commit 8ad732f23b
@tglman tglman authored