streaming line cleanup