fix doc type bug