fix the bgp filter generator