Fixed a bug in LoadCourse();