fix some jid problem