write default config when config value does not exist