diff --git a/Source/Processors/NetworkEvents/NetworkEvents.cpp b/Source/Processors/NetworkEvents/NetworkEvents.cpp
index dc20ff98965c5b3650770a107d97040253494f0f..0687532b7c4ee28b42642a22acef7150470bba40 100644
--- a/Source/Processors/NetworkEvents/NetworkEvents.cpp
+++ b/Source/Processors/NetworkEvents/NetworkEvents.cpp
@@ -77,11 +77,11 @@ StringTS::StringTS(MidiMessage &event)
 {
 	const uint8* dataptr = event.getRawData();
 	int bufferSize = event.getRawDataSize();
-	len = bufferSize-4-8; // -4 for initial event prefix, -8 for timestamp at the end
+	len = bufferSize-6-8; // -6 for initial event prefix, -8 for timestamp at the end
 
-	memcpy(&timestamp, dataptr + 4+len, 8); // remember to skip first four bytes
+	memcpy(&timestamp, dataptr + 6+ len, 8); // remember to skip first six bytes
 	str = new uint8[len];
-	memcpy(str,dataptr+4,len);
+	memcpy(str,dataptr + 6, len);
 }
 
 StringTS& StringTS::operator=(const StringTS &rhs)
diff --git a/Source/Processors/PSTH/TrialCircularBuffer.cpp b/Source/Processors/PSTH/TrialCircularBuffer.cpp
index b4ab5d9161ccbeb07f69dc53493f935890703a0c..274eda3ec1ae9920a514963c386b9b69fd70b164 100644
--- a/Source/Processors/PSTH/TrialCircularBuffer.cpp
+++ b/Source/Processors/PSTH/TrialCircularBuffer.cpp
@@ -1880,6 +1880,9 @@ bool TrialCircularBuffer::parseMessage(StringTS msg)
 	  bool redrawNeeded = false;
 	  std::vector<String> input = msg.splitString(' ');
 	  String command = input[0].toLowerCase();
+
+	  std::cout << "PSTH node received: " << command << std::endl;
+
 	if (command == "tictoc_print")
 	{
 		if (useThreads)
@@ -1988,6 +1991,7 @@ bool TrialCircularBuffer::parseMessage(StringTS msg)
 	  }
 	  else if (command == "cleardesign")
 	  {
+	  		std::cout << "Clearing design" << std::endl;
 			clearDesign();
 			// inform editor repaint is needed
 			redrawNeeded = true;