avoid URL duplication in html