fixed template path error