bugfix for tmux