BUGFIX: clicking on links to the same domain was broken