cleans up the root directory