fix video source bug