diff --git a/AMDiS/src/DataCollector.cc b/AMDiS/src/DataCollector.cc
index 67c460b96e2fe5944f75aa7e0928515ed5b64cb1..eb4851b479fc7bb7916ef9c0399c524e2ec4cf0d 100644
--- a/AMDiS/src/DataCollector.cc
+++ b/AMDiS/src/DataCollector.cc
@@ -351,9 +351,9 @@ namespace AMDiS {
     
     basisFcts_->getLocalIndices(elInfo->getElement(), localAdmin_, localDOFs_);
 
-    ::std::vector<int> elemInterpPoints(nBasisFcts_);
+    std::vector<int> elemInterpPoints(0);
     for (int i = mesh_->getGeo(VERTEX); i < nBasisFcts_; i++) {
-      elemInterpPoints[i] = (*interpPointInd_)[localDOFs_[i]];
+      elemInterpPoints.push_back((*interpPointInd_)[localDOFs_[i]]);
     }
 
     interpPoints_.push_back(elemInterpPoints);
diff --git a/AMDiS/src/VtkWriter.cc b/AMDiS/src/VtkWriter.cc
index 3bb833e28fb6fbef3b0d386871c89f2c2c7409f3..0f4f76718d12b4ba4eaf92ad42d6aacaeee834f0 100644
--- a/AMDiS/src/VtkWriter.cc
+++ b/AMDiS/src/VtkWriter.cc
@@ -132,10 +132,15 @@ namespace AMDiS {
 
   void VtkWriter::writeVertexValues(::std::ofstream &file, int componentNo)
   { 
-    DOFVector<int> *interpPointInd;
-    DOFVector<double> *values;
-    DOFVector< ::std::list<WorldVector<double> > > *dofCoords;
+    //    DOFVector<int> *interpPointInd;
+    //    DOFVector<double> *values;
+    //    DOFVector< ::std::list<WorldVector<double> > > *dofCoords;
 
+    DOFVector<int> *interpPointInd = (*dc_)[componentNo]->getInterpPointInd();
+    DOFVector<double> *values = (*dc_)[componentNo]->getValues();
+    DOFVector< ::std::list<WorldVector<double> > > *dofCoords = (*dc_)[componentNo]->getDofCoords();
+
+    /*
 #ifdef _OPENMP
 #pragma omp critical 
 #endif
@@ -144,7 +149,7 @@ namespace AMDiS {
       values = (*dc_)[componentNo]->getValues();
       dofCoords = (*dc_)[componentNo]->getDofCoords();
     }
-    
+    */
     DOFVector<int>::Iterator intPointIt(interpPointInd, USED_DOFS);
     DOFVector<double>::Iterator valueIt(values, USED_DOFS);
     DOFVector< ::std::list<WorldVector<double> > >::Iterator coordIt(dofCoords, USED_DOFS);