fix bug with video