fixed the conversion from binary to presentation format for IP addresses