diff --git a/src/modules/Elsa.Expressions/Models/ExpressionExecutionContext.cs b/src/modules/Elsa.Expressions/Models/ExpressionExecutionContext.cs
index e43e424ea..7d19e9adf 100644
--- a/src/modules/Elsa.Expressions/Models/ExpressionExecutionContext.cs
+++ b/src/modules/Elsa.Expressions/Models/ExpressionExecutionContext.cs
@@ -1,3 +1,4 @@
+using Elsa.Expressions.Helpers;
using Microsoft.Extensions.DependencyInjection;
namespace Elsa.Expressions.Models;
@@ -102,7 +103,7 @@ public class ExpressionExecutionContext
///
/// Returns the value of the memory block pointed to by the specified memory block reference.
///
- public T? Get(MemoryBlockReference blockReference) => (T?)Get(blockReference);
+ public T? Get(MemoryBlockReference blockReference) => Get(blockReference).ConvertTo();
///
/// Sets the value of the memory block pointed to by the specified memory block reference.