do not move cursor away from the current match