added a fix to production.rb