fixed the path to the template