change config before merge