changing the production value to the correct value