Config cleaning