fix outputDirectory
Merge pull request #971 from afc163/master

fix outputDirectory