safety catch in device.expand()