fixed end in production.rb