fix the config