fix theme failure