diff --git a/src/problem/problem.cpp b/src/problem/problem.cpp
index bd9a117fac1303ae286dd64ffaff26aedfea099d..17d1e7ee15fcd07c2341fbdba8ab72386501a205 100644
--- a/src/problem/problem.cpp
+++ b/src/problem/problem.cpp
@@ -543,8 +543,9 @@ void Problem::emplaceStatesToFrame(FrameBasePtr _frame_ptr, const VectorComposit
     if (not _frame_ptr) throw std::runtime_error("Problem::emplaceStatesToFrame: the provided frame is nullptr");
 
     if (not frame_types_.has(_frame_states.getKeys()))
-        throw std::runtime_error("Problem::emplaceStatesToFrame: any unknown type. Asked for key " + _frame_states.getKeys() +
-                                 " but problem only know the types of " + frame_types_.getKeys());
+        throw std::runtime_error("Problem::emplaceStatesToFrame: any unknown type. Asked for key " +
+                                 _frame_states.getKeys() + " but problem only know the types of " +
+                                 frame_types_.getKeys());
 
     // emplace missing keys
     for (auto key : _frame_states.getKeys())
diff --git a/src/processor/processor_diff_drive.cpp b/src/processor/processor_diff_drive.cpp
index eb49aa5815913b06f6b7a8e70838f5e96db113db..824af2cb3f399782f9d33c0158b8b4fa7c047442 100644
--- a/src/processor/processor_diff_drive.cpp
+++ b/src/processor/processor_diff_drive.cpp
@@ -130,13 +130,13 @@ void ProcessorDiffDrive::computeCurrentDelta(const Eigen::VectorXd& _data,
 }
 
 CaptureMotionPtr ProcessorDiffDrive::emplaceCapture(const FrameBasePtr&   _frame_own,
-                                                   const SensorBasePtr&  _sensor,
-                                                   const TimeStamp&      _ts,
-                                                   const VectorXd&       _data,
-                                                   const MatrixXd&       _data_cov,
-                                                   const VectorXd&       _calib,
-                                                   const VectorXd&       _calib_preint,
-                                                   const CaptureBasePtr& _capture_origin)
+                                                    const SensorBasePtr&  _sensor,
+                                                    const TimeStamp&      _ts,
+                                                    const VectorXd&       _data,
+                                                    const MatrixXd&       _data_cov,
+                                                    const VectorXd&       _calib,
+                                                    const VectorXd&       _calib_preint,
+                                                    const CaptureBasePtr& _capture_origin)
 {
     auto cap_motion =
         CaptureBase::emplace<CaptureDiffDrive>(_frame_own, _ts, _sensor, _data, _data_cov, _capture_origin);