Fix the path for template