Fix dir issue.