delete nonsense lines