fix theme manager issue on not detected themes