fix doc bug

referer issue #306