handle corrupted lines in csv files