remove duplicate ids to make html valid