remove redundant data attributes