fix typo and add source to template