fixed doc generation