fix unique ids