setFilter just before addFilter