fix device.