fixed bug that was spawning tmux again after detatching