Fix top_topic.rb to be compatible with ruby 1.9