fix theme controller