Fixed bug: accountID did not check if tempAcc was null