fix bug for read csv file