fix a bug in JGMojian