Course registration fix