create a cursorhold refresh function
always show the matches in order