fix doc type