Fixed getBalance() error