modified search reset method