region.rb bug fix, reorder regions