fix looped playback