rebuilt directory structure