Fix template path issue.