small fix for template