fix processInsertGetId compatibility