modify autoid generate