fix styling, addr len check