small fix in templates