refactor: minor fixes
diff --git a/erpnext/www/lms/macros/card.html b/erpnext/www/lms/macros/card.html
index a0e4dab..213978f 100644
--- a/erpnext/www/lms/macros/card.html
+++ b/erpnext/www/lms/macros/card.html
@@ -11,7 +11,7 @@
 		{% endif %}
 		<div class='card-body'>
 			<h5 class='card-title'>{{ program.program_name }}</h5>
-			<div>{{ program.description }}</div>
+			<div>{{ program.description or '' }}</div>
 		</div>
 		<div class='card-footer'>
 			{% if has_access %} <span class="indicator green">Enrolled</span>
diff --git a/erpnext/www/lms/macros/hero.html b/erpnext/www/lms/macros/hero.html
index dfee93f..d9c4059 100644
--- a/erpnext/www/lms/macros/hero.html
+++ b/erpnext/www/lms/macros/hero.html
@@ -6,7 +6,7 @@
 			</a>
 		</div>
 		<h1>{{ title }}</h1>
-		<p class='lead' style="max-width: 100%;">{{ description }}</p>
+		<p class='lead' style="max-width: 100%;">{{ description or ''}}</p>
 		<p class="mt-4">
 			{% if frappe.session.user == 'Guest' %}
 			<a id="signup" class="btn btn-primary btn-lg" href="/login#signup">Sign Up</a>