Update base.rb

Fix error