the search is now avtivate by onclick event