tidy up directories