bug for JniHelper