remove duplicate image and folder structure