fix theme support bug