more fixes to relative links