cleaning up directories