add callling ffi.new on non-array type