delete needless function that filter violations