fix hashtag replacement