Corrects config file