diff --git a/meshview/templates/packet.html b/meshview/templates/packet.html
index d1ea534..c204a75 100644
--- a/meshview/templates/packet.html
+++ b/meshview/templates/packet.html
@@ -41,8 +41,8 @@
{% if packet.pretty_payload %}
{{packet.pretty_payload}}
{% endif %}
- {% if packet.raw_mesh_packet.decoded.reply_id %}
- Replying to: {{packet.raw_mesh_packet.decoded.reply_id}}
+ {% if packet.raw_mesh_packet and packet.raw_mesh_packet.decoded and packet.raw_mesh_packet.decoded.reply_id %}
+ Reply ID: {{ packet.raw_mesh_packet.decoded.reply_id }}
{% endif %}
{% if packet.raw_mesh_packet.decoded and packet.raw_mesh_packet.decoded.portnum == 70 %}