relay: remove all filtering library side