fix dao config and exports.