fixing data attributes