fixed memory leak for read big csvs