fix for ipaddress