checked null session variable