fix: templates for cards
diff --git a/erpnext/www/lms/index.html b/erpnext/www/lms/index.html
index 3e107ac..0114235 100644
--- a/erpnext/www/lms/index.html
+++ b/erpnext/www/lms/index.html
@@ -55,7 +55,7 @@
 				{{ program_card(program.program, program.has_access) }}
 			{% endfor %}
 			{% if featured_programs %}
-				{% for n in range(3 - ((featured_programs|length)%3)) %}
+				{% for n in range((featured_programs|length)%3) %}
 					{{ null_card() }}
 				{% endfor %}
 			{% endif %}