diff --git a/AMDiS/src/ParMetisPartitioner.cc b/AMDiS/src/ParMetisPartitioner.cc
index 1cf80cc9fe997733b8bad938d9c0bed997f28d50..c192a8c99f51cc9c926765b6b99d14d49b53800f 100644
--- a/AMDiS/src/ParMetisPartitioner.cc
+++ b/AMDiS/src/ParMetisPartitioner.cc
@@ -47,7 +47,7 @@ namespace AMDiS {
 
     // allocate memory
     eptr = new int[nElements + 1];
-    eind = new int[nElements * (dim + 1))];
+    eind = new int[nElements * (dim + 1)];
     elmdist = new int[mpiSize + 1];
     elem_p2a = new int[nElements];
 
@@ -512,7 +512,7 @@ namespace AMDiS {
     delete [] partitionElements;
     delete [] partitionPtr;
     delete [] bufferOffset;
-    delete [] recvBufferOffse;
+    delete [] recvBufferOffset;
   }
 
   void ParMetisPartitioner::descendPartitionData(Element *element) 
diff --git a/AMDiS/src/SolverMatrix.h b/AMDiS/src/SolverMatrix.h
index 4d40eda505dad4d047b95f5551b2a40fb0c72df1..0460c07cb185e043226ad52f31f9a31336710179 100644
--- a/AMDiS/src/SolverMatrix.h
+++ b/AMDiS/src/SolverMatrix.h
@@ -44,7 +44,7 @@ namespace AMDiS {
 
       void setMatrix(const DOFMatrix& A)
       {
-	  matrix= &A.getBaseMatrix();
+	matrix= &A.getBaseMatrix();
       }
 
       const DOFMatrix::base_matrix_type& getMatrix() const { return *matrix; }