change url to relative base