custom compat for IPAddr