clean up working tree