diff --git a/src/pappsomspp/vendors/tims/timsframe.cpp b/src/pappsomspp/vendors/tims/timsframe.cpp
index 8d2882bc40390c91218edee389b1a5fdbbda5bfb..67c6bd62d7d78342470d6a84dea604af02884847 100644
--- a/src/pappsomspp/vendors/tims/timsframe.cpp
+++ b/src/pappsomspp/vendors/tims/timsframe.cpp
@@ -28,6 +28,7 @@
 #include "timsframe.h"
 #include "../../../pappsomspp/pappsoexception.h"
 #include <QDebug>
+#include <QObject>
 #include <QtEndian>
 #include <memory>
 #include <solvers.h>
@@ -106,7 +107,7 @@ TimsFrame::unshufflePacket(const char *src)
   if(len % 4 != 0)
     {
       throw pappso::PappsoException(
-        QObject::tr("TimsFrame::unshufflePacket error: len%4 != 0"));
+        QObject::tr("TimsFrame::unshufflePacket error: len % 4 != 0"));
     }
 
   quint64 nb_uint4 = len / 4;