fixed templating function usage. closes #55
Release 0.1.2-rc.4