bug fix during session closing; a safe guard to avoid an exception
during table display