Fix relative link bug the right way