minor fix for templating