small fixes
remove useCache flags on Java side, always cache