debugging after search