fix type from double to float in jna