fix theme selection in th-theme