fixed possible bug with how inetaddress works