cleaning up the working copy