rename attr from title to data-title