rename greedy dir