fixed error with some csv files