add right data-* attribute