restore the config file