refactoring clean to clean up the proper empty directories