fix xmpp problem