try to fix mainloop event removing when dispatch event, fix dbus processing