fixed search button cannot auto redirect