fix the config files