fix some bug in ipv6 to make it run in ci