codegen_cfg small fix