Fix bug image and video