replacing xml-magic with omit-slot version