fix whisper problems for switch_tab