Fixed pwd issue.