more cleanup. Handle w lines. dont fail on ipv6