add support utileities.rb and fix spec