fix error production.rb