support legacy IPs