re init directory