fixed array.rb