fixed links to be relative from root