fix messed configs