disable add device is function