Handle undefined data attributes