deviceId check