fix doc generation