Corrected template location