search reset bug fix