bug fix video capture