bug fixed on doc generation while installing