corrects config