fix take ip and port in filter