make prefix search work again