error checked area.rb