stream emits events properly