fix the XDT to insert new sections if they don't yet exist.