fixed a couple of bugs when ModuleB down and reboot