remove redundant images