Correcting multiple ids in the same page