Fix production upgrade.