removed invalid lines