remove idgenerator class