fixed broken balance