remove junk lines