remove device.expand debug entry