remove some leftover debug logging
fix up error in text-only search results