Fixed null exception khi session time out.