Fix template not found issue.