fix video bugs