fix bug in templating docs.