updated hashtag parsing