# Slicer save function creating copies of dataset instead of overwrite

**URL:** <https://discourse.slicer.org/t/slicer-save-function-creating-copies-of-dataset-instead-of-overwrite/2311>\
**Category:** Support\
**Created:** [March 14, 2018, 11:39am UTC](https://discourse.slicer.org/t/slicer-save-function-creating-copies-of-dataset-instead-of-overwrite/2311 "2018-03-14T11:39:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drusmanbashir](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/drusmanbashir/32/1282_2.png) [@drusmanbashir](https://discourse.slicer.org/u/drusmanbashir)\
**Post date:** [March 14, 2018, 11:39am UTC](https://discourse.slicer.org/t/slicer-save-function-creating-copies-of-dataset-instead-of-overwrite/2311/1 "2018-03-14T11:39:12Z")

</div>

Hi,  
I am not sure if this is how it is supposed to work. But when i load the data folder i saved previously, slicer creates copies of all files and assigns them a suffix like ‘\_1’ . If I were to save the data again after updating a few segmentations for example, everything gets saved along with suffixed duplicates, hence doubling storage and creating confusion, unless i manually unselect the suffixed duplicates.

Screenshot showing contents of folder loaded into slicer, there are no duplicates originally:

 ![loaded_folder](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/0/304aefa3c0ab7307e832eb27af15c65034ff7d6e.jpeg)

After loading the folder above, slicer creates copies of everything and suffixes them (so that if I were to save everything again, there will be duplicates):

 ![slicer_copying](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/f/df4284cfb0af4bce9ea6f81e5abb70f4b70eee55.jpeg)

Usman

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [March 14, 2018, 12:50pm UTC](https://discourse.slicer.org/t/slicer-save-function-creating-copies-of-dataset-instead-of-overwrite/2311/2 "2018-03-14T12:50:40Z")

</div>

One way this could happen is if you use `Add Data` to load a MRML into Slicer twice (e.g. running Slicer instance where the MRML file was already open). Then the \_1 suffix is added in Slicer for each node, and when you go to save then Slicer saves two copies. If this is the problem, then make sure to use `File->Close Scene` before loading a MRML file.
