corrects config files