removing strange lines