fixing strategy for when no secret can be obtained for node
improving stream