tweak IPv4 conversion methods