fix workerIndex for ipv6