remove casting stream