fix bugs on the video