change url to relative url