diff --git a/Route.php b/Route.php
index <HASH>..<HASH> 100755
--- a/Route.php
+++ b/Route.php
@@ -263,7 +263,9 @@ class Route
                 continue;
             }
 
-            $mapValue = (is_array($mapValue) && isset($mapValue["to"])) ? $mapValue["to"] : "";
+            if (is_array($mapValue)) {
+                $mapValue = isset($mapValue["to"]) ? $mapValue["to"] : "";
+            }
 
             if (! empty($mapValue)) {
                 foreach ($parameters as $key => $value) {
Little fix for when mapping was defined only with transform action