at end of collapse, replaced copy with a rename.