diff --git a/src/renderer/components/Experiment/DynamicPluginForm.tsx b/src/renderer/components/Experiment/DynamicPluginForm.tsx
index d564f26440f8e0f1d7f19317b141088c169966b8..5876bd07b209f269b2b4ef0bede82753217cb875 100644
--- a/src/renderer/components/Experiment/DynamicPluginForm.tsx
+++ b/src/renderer/components/Experiment/DynamicPluginForm.tsx
@@ -464,8 +464,8 @@ function CustomAutocompleteWidget<T = any, S extends StrictRJSFSchema = RJSFSche
 
 type EvaluationField = {
   name: string;
-  regex: string;
-  outputType: 'boolean' | 'number';
+  expression: string;
+  return_type: 'boolean' | 'number';
 };
 
 const CustomEvaluationWidget = (props: WidgetProps<any>) => {
@@ -480,7 +480,7 @@ const CustomEvaluationWidget = (props: WidgetProps<any>) => {
   const handleAddField = () => {
       setEvalMetrics([
           ...evalMetrics,
-          { name: '', regex: '', outputType: 'boolean' }
+          { name: '', expression: '', return_type: 'boolean' }
       ]);
   };
 
@@ -522,18 +522,18 @@ const CustomEvaluationWidget = (props: WidgetProps<any>) => {
                   />
                   <Textarea
                       placeholder="Regular Expression"
-                      value={evaluation.regex}
+                      value={evaluation.expression}
                       onChange={(e) =>
-                          handleFieldChange(index, 'regex', e.target.value)
+                          handleFieldChange(index, 'expression', e.target.value)
                       }
                       disabled={disabled || readonly}
                       style={{ marginBottom: '0.5rem' }}
                   />
                   <Select
                       placeholder="Output Type"
-                      value={evaluation.outputType}
+                      value={evaluation.return_type}
                       onChange={(e, newValue) =>
-                          handleFieldChange(index, 'outputType', newValue as string)
+                          handleFieldChange(index, 'return_type', newValue as string)
                       }
                       disabled={disabled || readonly}
                       style={{ marginBottom: '0.5rem' }}
diff --git a/src/renderer/components/Experiment/Eval/ViewCSVModal.tsx b/src/renderer/components/Experiment/Eval/ViewCSVModal.tsx
index 40e8b81517f5b8fe12403a7e7405fd4e3eb35962..e933f1c9f63d27f72699b673da332baefce2f65e 100644
--- a/src/renderer/components/Experiment/Eval/ViewCSVModal.tsx
+++ b/src/renderer/components/Experiment/Eval/ViewCSVModal.tsx
@@ -75,7 +75,8 @@ function formatEvalData(data) {
 }
 
 function formatArrayOfScores(scores) {
-  const formattedScores = scores.map((score) => {
+  const scoresArray = Array.isArray(scores) ? scores : [scores];
+  const formattedScores = scoresArray.map((score) => {
     const metricName = Object.keys(score)[0];
     const value = Object.values(score)[0];