diff --git a/src/renderer/html_handlebars/helpers/navigation.rs b/src/renderer/html_handlebars/helpers/navigation.rs
index d3f6ca90..65929bbf 100644
--- a/src/renderer/html_handlebars/helpers/navigation.rs
+++ b/src/renderer/html_handlebars/helpers/navigation.rs
@@ -149,8 +149,8 @@ fn render(
_h.template()
.ok_or_else(|| RenderError::new("Error with the handlebars template"))
.and_then(|t| {
- let mut local_rc = rc.clone();
let local_ctx = Context::wraps(&context)?;
+ let mut local_rc = rc.clone();
t.render(r, &local_ctx, &mut local_rc, out)
})?;