fix relative path building