fix overflow problem when insert function returned value larger than int32...

fix overflow problem when insert function returned value larger than int32...，sorry for this simple mistake