make links root-relative