repair configuration file