fixed ssh terminal tab function