after Generating users, the user have 2 active profiles?

hello Friends,

i’m using UM to operate the hotspot in some cafe shops and generating batch of users, recently after generating 500 user, i found the user has duplication of the active profile as shown in the photo attached plz, scroll down the photo.

what is the reason for that?
how to avoid it ?
how to batch delete this duplication or edit this users to keep one profile only?
Duplicated_user_profile.png