Fixed a bug in the title.rb