edit filter code

Edit the filter code