diff --git a/src/features/Courses/CoursesDetailPage/index.jsx b/src/features/Courses/CoursesDetailPage/index.jsx
index f3379b98..e389f374 100644
--- a/src/features/Courses/CoursesDetailPage/index.jsx
+++ b/src/features/Courses/CoursesDetailPage/index.jsx
@@ -32,7 +32,7 @@ const CoursesDetailPage = () => {
};
const courseInfo = useSelector((state) => state.courses.table.data)
- .find((course) => course?.masterCourseName === courseId) || defaultCourseInfo;
+ .find((course) => course?.masterCourseId === courseId) || defaultCourseInfo;
const institution = useSelector((state) => state.main.selectedInstitution);
const classes = useSelector((state) => state.classes.table);
const totalStudents = courseInfo.numberOfStudents + courseInfo.numberOfPendingStudents;
diff --git a/src/features/Courses/CoursesTable/columns.jsx b/src/features/Courses/CoursesTable/columns.jsx
index 5841271b..20f6ae70 100644
--- a/src/features/Courses/CoursesTable/columns.jsx
+++ b/src/features/Courses/CoursesTable/columns.jsx
@@ -14,7 +14,7 @@ const columns = [
{
Header: 'Courses',
accessor: 'masterCourseName',
- Cell: ({ row }) => ({row.values.masterCourseName}),
+ Cell: ({ row }) => ({row.values.masterCourseName}),
},
{
Header: 'Classes',