remove duplicates of gadgets