removing id links for refs