Fixed changes in cloud.rb