fixes genconf