fix a bug on CSVReader