luaffi does not like to directly convert s[0] in struct to ffi.string