fix relative index path