seperate resetSearchWord