fixed video playback bug