fix a bug of deleting account without account for balance transfer