fix filter bugs/typos