Update base.rb and refix number word to handle