CFGC conversion not quite working