diff --git a/AMDiS/other/scripts/create_statistics b/AMDiS/other/scripts/create_statistics
index 466278b88a29410fa60a75e1761bd78bed1e4fae..2d5832297bfc320c62c4334ead04ff4ceef9875d 100755
--- a/AMDiS/other/scripts/create_statistics
+++ b/AMDiS/other/scripts/create_statistics
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-grep "for vecphase->space->feSpace" ${1} &> tmp_dof
+grep "for ${2}->space->feSpace" ${1} &> tmp_dof
 awk 'BEGIN {A = 0} {if (A == 0) { print $1; A = 1;} else A = 0}' tmp_dof &> tmp_dof0
 awk 'BEGIN {A = 1} {if (A == 0) { print $1; A = 1;} else A = 0}' tmp_dof &> tmp_dof1
 grep "timestep = " ${1} | awk '{sub(/,/, "", $3); print $3}' &> tmp_time