fixed base.rb error