Fix oid overflow bug

Signed-off-by: leo-ma <begeekmyfriend@gmail.com>