debugging search