fixing ids to be in the same place for all links