attempts at fixing stream playback logic