finish all the dirs