restore the configuration