remove text/* attribute