change IdGenerator