fixed bug where tmux not connecting to server or not creating a session