fixed terminate session name