diff --git a/libs/cbi/luasrc/view/cbi/map.htm b/libs/cbi/luasrc/view/cbi/map.htm
index 8616568945..6b6f3e43b3 100644
--- a/libs/cbi/luasrc/view/cbi/map.htm
+++ b/libs/cbi/luasrc/view/cbi/map.htm
@@ -14,10 +14,10 @@ $Id$
-%>
-
-
<%=self.description%>
+ <% if self.title and #self.title > 0 then %>
<% end %>
+ <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %>
<%- if self._apply then -%>
-
<% end %>
-
-
<%=self.description%>
+ <% if self.title and #self.title > 0 then %>
<% end %>
+ <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %>
<% self:render_children() %>