diff --git a/dumux/common/cubegridcreator.hh b/dumux/common/cubegridcreator.hh
index edab90af465bdfdded0097f5d5b485731fd737a0..3ee6b074dcaf12b469c81c2cc8be6c857cb0f249 100644
--- a/dumux/common/cubegridcreator.hh
+++ b/dumux/common/cubegridcreator.hh
@@ -56,7 +56,7 @@ NEW_PROP_TAG(Grid);
  * cube in 3D.
  */
 template <class TypeTag>
-class Dumux::CubeGridCreator
+class CubeGridCreator
 {
     typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
     typedef typename GET_PROP_TYPE(TypeTag, Grid)  Grid;
@@ -115,7 +115,7 @@ protected:
 };
 
 template <class TypeTag>
-typename Dumux::CubeGridCreator<TypeTag>::GridPointer StructuredCubeGridCreator<TypeTag>::cubeGrid_;
+typename Dumux::CubeGridCreator<TypeTag>::GridPointer CubeGridCreator<TypeTag>::cubeGrid_;
 
 }