new idgenerator under value manager isthrowing an error.
rewrite () completely