fix variables stack for templates named include