better parsing of hn