fix for theme manager