fix playback bug