fix, long to jlong in JNI