filter template fixed, filter generation fixed