doc generator fix