fixed save()