reverting previous changes, this sides seems to be working something goes wrong with the xmpp message