Correction of the template path