diff --git a/src/SilexCMS/Set/DataSet.php b/src/SilexCMS/Set/DataSet.php
index <HASH>..<HASH> 100644
--- a/src/SilexCMS/Set/DataSet.php
+++ b/src/SilexCMS/Set/DataSet.php
@@ -37,7 +37,7 @@ class DataSet implements ServiceProviderInterface
     public function filter(Response $resp)
     {
         if ($resp instanceof TransientResponse) {
-            if ($resp->getTemplate()->hasBlock($this->name)) {
+            if ($resp->getTemplate()->hasBlock($this->block)) {
                 $repository = new GenericRepository($this->app['db'], $this->table);
                 $resp->getVariables()->{$this->block} = $this->app[$this->block] = $repository->findAll();
             }
Fixes a variable name (again)