fixed playback bug