Fix relative template path