Fixed bug in CLISession