finish searching