changed device info to onDeviceREady