Fixed bug in checkAcct()