fixed xmpp callbacks