fix relative path mapping