fix relative route bug