Fixed utilities.rb bug