correct the config