Cleans dirty config