fix pushing hotplug function.