merging config