accommodate bad rows in the csv data