Fixed bug in cf_name generation code.