diff --git a/demos/combustion_demo/src/combustion_demo.cpp b/demos/combustion_demo/src/combustion_demo.cpp
index ab7bedcef95122ba366b7797bb0f60e947c649c9..1703a2e915ec08804cb3b5925d32dc6d0890735c 100644
--- a/demos/combustion_demo/src/combustion_demo.cpp
+++ b/demos/combustion_demo/src/combustion_demo.cpp
@@ -103,11 +103,12 @@ int main(int, char**) {
         "models/combustion/data_box.stl", scene.get());
     auto boundingbox_transform =
         model_boundingbox->GetFirstComponent<phx::Transform>();
-    auto boundingbox_mesh_handle = boundingbox_transform->GetChild(0)
-                                       ->GetEntity()
-                                       ->GetFirstComponent<phx::MeshHandle>();
+    auto boundigbox_mesh_entity =
+        boundingbox_transform->GetChild(0)->GetEntity();
+    auto boundingbox_mesh_handle =
+        boundigbox_mesh_entity->GetFirstComponent<phx::MeshHandle>();
     auto render_settings =
-        model_boundingbox->AddComponent<phx::MeshRenderSettings>();
+        boundigbox_mesh_entity->AddComponent<phx::MeshRenderSettings>();
     render_settings->SetWireframeMode(true);
 
     std::array<glm::vec3, 2> bbox =