diff --git a/src/Middleware/EmbeddedMiddleware.php b/src/Middleware/EmbeddedMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/EmbeddedMiddleware.php
+++ b/src/Middleware/EmbeddedMiddleware.php
@@ -60,7 +60,12 @@ class EmbeddedMiddleware extends AbstractMiddleware
     
     public function getCallable()
     {
-        return $this->getInvokable()->getCallable();
+        $invokable = $this->getInvokable();
+        if($application = $this->getApplication()) {
+            $invokable->setApplication($this->getApplication());
+        }
+
+        return $invokable->getCallable();
     }
Inject application in invokables embedded in EmbeddedMiddleware