avoid generating duplicated configs.