remove duplicated device id