fixed a filter updating bug