fix the jumping function of search button