added some lines in spree.rb