Fixed directory rename issue.