fixed onSave() in rack serializer to pass context