fixed bug in using both search and hashtags