fix: minor bugs
diff --git a/erpnext/education/utils.py b/erpnext/education/utils.py
index 433ef9f..0e02712 100644
--- a/erpnext/education/utils.py
+++ b/erpnext/education/utils.py
@@ -308,7 +308,7 @@
 	from `tabcourse topic`,
 		 `tabprogram course`
 	where `tabcourse topic`.parent = `tabprogram course`.course
-			and `tabprogram course`.parent = %(program)s""", {'program': program})
+			and `tabprogram course`.parent = %s""", program.name)
 
 	progress = []
 	for topic in topics: