correcting the config