fixed childCfg bug