diff --git a/lib/python/labcomm2014/LabComm.py b/lib/python/labcomm2014/LabComm.py
index 9632a2db38070f57d0f6f8bd0481f24650d37fb7..2ac3524a9326abfbc489e063547900cdf7cb98fa 100644
--- a/lib/python/labcomm2014/LabComm.py
+++ b/lib/python/labcomm2014/LabComm.py
@@ -775,9 +775,11 @@ class Encoder(Codec):
         self.writer = writer
         self.version = version
         if self.version ==  DEFAULT_VERSION:
+            self.writer.mark_begin(None, None)
             self.encode_type(i_VERSION)
             with length_encoder(self) as e:
                 e.encode_string(version)
+            self.writer.mark_end(None, None)
         elif self.version == None:
             pass # Don't send version on a length encoder
         else: