fixed wikilib dg gen, seems working now