more cleanup in device_cooperve