remove some debug code from NM_cmd_search()