remove empty trans-unit elements