Update templates variable scope (use @)