fixing custom themes