fixed templating error