rename isActive to active
escape raw in twig templaes