Hack to get deviceID