Fixed the data formatting.