diff --git a/python/dune/xt/grid/types.py b/python/dune/xt/grid/types.py
index 6838a64036d40feb1a6ea52f3f5edcfa79b4f681..f8449b24aa4b9cd17a705e28de35daa1e56dc823 100644
--- a/python/dune/xt/grid/types.py
+++ b/python/dune/xt/grid/types.py
@@ -6,7 +6,7 @@ arguments = {'alu': namedtuple('alu_args', 'dim element_type refinement'),
              'alberta': namedtuple('alberta_args', 'dim')}
 templates = { 'alu': 'Dune::ALUGrid<{dim},{dim},Dune::{element_type},Dune::{refinement}>',
               'yasp': 'Dune::YaspGrid<{dim},Dune::EquidistantOffsetCoordinates<double,{dim}>>',
-              'ug': 'Dune::UGGrid<{}>',
+              'ug': 'Dune::UGGrid<{dim}>',
               'alberta': 'Dune::AlbertaGrid<{dim},{dim}>'}
 guards = { 'alu': 'dune-alugrid',
            'yasp': 'dune-grid',