fixed baseurl for generic links