fixing ffi strings