remove absolute url from paths