Fix conf replacement