Changed regid to device_platform. error