diff --git a/Source/Processors/HDF5FileFormat.cpp b/Source/Processors/HDF5FileFormat.cpp
index 4175d1b900d4c87d8401d5cc01af8bce8822f17c..e05f8185b22acd526743b403f78ebfc0b6462574 100644
--- a/Source/Processors/HDF5FileFormat.cpp
+++ b/Source/Processors/HDF5FileFormat.cpp
@@ -733,6 +733,8 @@ void KWIKFile::stopRecording()
     timeStamps.clear();
     recordings.clear();
     eventID.clear();
+	nodeID.clear();
+	channelID.clear();
 }
 
 void KWIKFile::writeEvent(int type, uint8 id, uint8 processor, uint8 channel, uint64 timestamp)