fix error when creating default config file