refs #16 fixed failure on template creation