diff --git a/README.md b/README.md
index aa11052..7d91531 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ class FooController extends AbstractController
```twig
{# this will display your form. Use '_pugx_filter_b4.html.twig' or '_pugx_filter_b5.html.twig' for Bootstrap 4 / 5 #}
-{% include '_pugx_filter.html.twig' with {name: 'foo'} %}
+{{ include('_pugx_filter.html.twig' with {name: 'foo'}) }}
{% for foo in foos %}
{# here you can display your list of filtered items, as long as you did your homework #}
@@ -108,7 +108,7 @@ Example of template:
{% from '_pugx_sort.html.twig' import sort -%}
{% block body %}
- {% include '_pugx_filter.html.twig' with {name: 'foo'} %}
+ {{ include('_pugx_filter.html.twig' with {name: 'foo'}) }}
diff --git a/src/DependencyInjection/FilterExtension.php b/src/DependencyInjection/FilterExtension.php
index 8194366..6c3508c 100644
--- a/src/DependencyInjection/FilterExtension.php
+++ b/src/DependencyInjection/FilterExtension.php
@@ -4,15 +4,12 @@
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
+use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
use Symfony\Component\DependencyInjection\Loader;
-use Symfony\Component\HttpKernel\DependencyInjection\Extension;
final class FilterExtension extends Extension implements PrependExtensionInterface
{
- /**
- * @param array $configs
- */
public function load(array $configs, ContainerBuilder $container): void
{
$loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../../config'));