improve MbqMain::action()

Signed-off-by: TomWu <phperwuhan@gmail.com>