fixed dynamic template reference