Clean up of filter