normalize data attributes