fix absolute url to relative url