fixing production.rb