fix for extends xs:stuff linking