bug fixed in cfg