clean up ffi.metatype usage