fixed the search prompt glitches