Id duplication for generated id inside the form

Hi all

I have a form on commcare to input a data ,inside the form i have agenerated id for evey case.

today i faced a problem of that the id is duplicated for a bout 80 record also some record since 2022.

can you help me how i can solve this ?? and what is the reasons to duplicate the values for old data ?