Ok now something is wrong with the math in this game. For example - I have 3B gold, I buy an upgrade for 250 M, so there should be 2,75B left, but what I got is around 170M. This happens only with those global upgrades, not with levelling up characters.