fixed initializeCourses