made outDir absolute path