- [twig] fixed issue with getting variables from inherited structures