formtting and reload the config.