removes unused data attributes