named template wrong