removing junk lines