fix wrong ffi