clean copy of config
clean up config after merge