format the config