fix the article search function