fix theme switcher