before drop the device id and ip