removed invalid lines from dataset