fixing broken data attributes