fix relative paths bug for build 2