bug fix for video