fixed style-switcher errors