use IPAddress instead of IPAddr. doesn't error.