prevent duplicates in ad manager plus user creation template

prevent duplicates in ad manager plus user creation template

i've done this : https://www.manageengine.com/products/ad-manager/admanager-kb/append-numbers-to-logon-names-in-case-of-duplicates.html

but i'm still getting the error saying that the object already exists. what am i missing?