add allocId instead of insert for TableLong