fixing some code that doesn't work for hashtag extraction