re #182 proper template filtering