solve pb with focus when switching tabs