fix JNI reference issue with assets