Set correct device.