fixing data attributes of buttons