Update course.rb to fix bug