fixed some account summary bugs