corrected template error