add extra character removal for unique ids