problemas with template