fixed issue with getting streams