xslice now clips properly and defs not retained