added check fors hash or space in hashtag