correcting second occurence of urlref.