Updated twig to properly process value