diff --git a/config/sub/TwigViewsConfig.php b/config/sub/TwigViewsConfig.php
index <HASH>..<HASH> 100644
--- a/config/sub/TwigViewsConfig.php
+++ b/config/sub/TwigViewsConfig.php
@@ -3,14 +3,14 @@
 namespace config\sub;
 
 use Valkyrja\Config\Sub\TwigViewsConfig as ValkyrjaTwigViewsConfig;
-use Valkyrja\Application;
+use Valkyrja\Contracts\Application;
 
 class TwigViewsConfig extends ValkyrjaTwigViewsConfig
 {
     /**
      * TwigViewsConfig constructor.
      *
-     * @param \Valkyrja\Application $app
+     * @param \Valkyrja\Contracts\Application $app
      */
     public function __construct(Application $app)
     {
diff --git a/config/sub/ViewsConfig.php b/config/sub/ViewsConfig.php
index <HASH>..<HASH> 100644
--- a/config/sub/ViewsConfig.php
+++ b/config/sub/ViewsConfig.php
@@ -15,5 +15,7 @@ class ViewsConfig extends ValkyrjaViewsConfig
     public function __construct(Application $app)
     {
         parent::__construct($app);
+
+        $this->twig = new TwigViewsConfig($app);
     }
 }
Fixing twig override in views config.