cleanup directory structure