The guys in both tv shows helped to makeover their female protagonists from gloomy and spooky characters into the opposite personalities and outlook.
Both shows have kind and innocent female leads. The male leads in both take a while to appreciate the female leads.