fixing the template path