diff --git a/pystencils_walberla/templates/Sweep.tmpl.cpp b/pystencils_walberla/templates/Sweep.tmpl.cpp
index d89dbb8c16ee5703761b048f51a0a43ec25671fd..8628e40a99beec142dc087831630c6cf189a78ff 100644
--- a/pystencils_walberla/templates/Sweep.tmpl.cpp
+++ b/pystencils_walberla/templates/Sweep.tmpl.cpp
@@ -13,7 +13,7 @@
 //  You should have received a copy of the GNU General Public License along
 //  with waLBerla (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
 //
-//! \\file {{className}}.cpp
+//! \\file {{class_name}}.cpp
 //! \\ingroup lbm
 //! \\author lbmpy
 //======================================================================================================================
diff --git a/pystencils_walberla/templates/SweepInnerOuter.tmpl.cpp b/pystencils_walberla/templates/SweepInnerOuter.tmpl.cpp
index f8c72ec5f5bc0bb5b5a7de6f657d82d5519e4b19..bdff84684a765761eb59d1fa77e1f884de6ae261 100644
--- a/pystencils_walberla/templates/SweepInnerOuter.tmpl.cpp
+++ b/pystencils_walberla/templates/SweepInnerOuter.tmpl.cpp
@@ -13,7 +13,7 @@
 //  You should have received a copy of the GNU General Public License along
 //  with waLBerla (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
 //
-//! \\file {{className}}.cpp
+//! \\file {{class_name}}.cpp
 //! \\ingroup lbm
 //! \\author lbmpy
 //======================================================================================================================