fix theme errors