fix relative path lookups