removed the error in the serch functionality of the pages.