fix doc generator