validate workingDir