removed redundant code

redundant code from uid-counter