fixed bug in cxform handling