fixed double save()