fix ipv6 alignment issue

fixed an issue where ipv6 addresses shorter than 29 characters are misaligned