modified getHTags()