better handling for empty streams