correcting config