Fix production.rb of hacks (added by KT)