device.expand robustness