fix ThemeManager