fix issue with relative path in PATH variables