prevent the production of potential empty snapshot by snapshot.save