fix duplicate images in carousel