Fix current directory issue.