fix directory rename