accounts: check if var nil