Config prepairing