fix crash when entering @ as a JID