fixed error on session with deleted thing