production.rb end fix