fixes for tmux