diff --git a/src/Stack/RouterStack.php b/src/Stack/RouterStack.php
index <HASH>..<HASH> 100644
--- a/src/Stack/RouterStack.php
+++ b/src/Stack/RouterStack.php
@@ -62,7 +62,7 @@ class RouterStack implements MiddlewareInterface
                 $app->prepend($filter);
             }
         }
-        if($route->trailing()) {
+        if($route->matched()) {
             $request = $request->withPathToMatch($route->matched(), $route->trailing());
         }
         $request = $request->withAttribute(App::ROUTE_NAMES, $this->router->getReverseRoute($request));
trailing sometimes returns empty string; use matched to check if route is matched.