fix for xmpp error unmarshalling