modernize template path