typos.rb corrected