Made small fixes in loadCourses