fixed bug with upgrades when no animals