clean up the csv file