fixed DUPLICATE IMAGES