Remove duplicated imgs.