setFilter switch fix