fix fileter deletion does not work correctly.