fix filter template