--- a/src/cdplugins/plgwithslave.cxx
+++ b/src/cdplugins/plgwithslave.cxx
@@ -425,7 +425,7 @@
 	
     unordered_map<string, string> res;
     if (!m->cmd.callproc("search", {
-		{"ctid", ctid},
+		{"objid", ctid},
 		{"field", slavefield},
 		{"value", vs[2]} },  res)) {
 	LOGERR("PlgWithSlave::search: slave failure\n");