get the config right