fix  merge of configurations defined in different configs.