terminal startSession method fixed