fixed Balance.cs errors