Removing duplicated images