format data

format the data to be loaded.