making sure the filter parameters get cleared properly