fix relative directory path