grep for IP address now return only valid IP