Fixed bug in close account