remove repeat resources