change idGenerator