fixed template warning