reconstruct directories and init finish