change absolute urls to relative