fixed the template path