Fix duplicated images.