bugfix for ipv4