Fix JID parsing error