reconstruct dir