fix dao-generation