delete unused files, set images to no repeate