fix relative url problem