patch to aide in hot plugging