fix tmux errors to escape special chars