fixing theme switcher