fix theme NPE