ensuring all links are relative