Fix oid type issue