deleting images which were renamed