fix relative domain