Add normalize to template path, and fix typo