Fix issue in nsl templating and twig