fixed terminate session return name