clean up working directory