fix theme selection