remove hotplug code