fixing up template path