fix DeferredStream initialization