fix quicksearch bug