fixing some logic errors in the save method
fixing some logic errors in the save method

cvast/arches,cvast/arches,archesproject/arches,cvast/arches,archesproject/arches,cvast/arches,archesproject/arches,archesproject/arches