Fix rootDir relative path