Fixes to relative urls