removing references to QName