Fix last cooma each line in .csv file bug