Template_ Error #2: template id index is not defined