deep copy default config to avoid overwriting