bugfix for duplicate delete session.