bugfix delete session