- Fix unitialized variable "cwd"