fixed jna var issues