 								return false if todelete.indexOf(ix) isnt -1
 								return true
 						# on Que but not on zmq
-						for item in workque when item._status = "onqueue"
-							found = false
-							for zItem in zmqids when zItem[0] is item._id
-								found = true
-							if !found
-								console.log "requeueing",item._id
-								item._status = "tosend"
-								item._lastchange = ~~((new Date).getTime() / 1000)
+						for item in workque
+							if item._status is "onqueue"
+								found = false
+								for zItem in zmqids
+									found = true if zItem[0] is item._id
+								if !found
+									console.log "requeueing",item._id
+									item._status = "tosend"
+									item._lastchange = ~~((new Date).getTime() / 1000)
 					setImmediate -> next()
 			,(err)->
 				#it will never stop

					if obj.id is id or obj._id is id
						found = i
				return found
			async.forever((next)->
				unless r.ready
					setImmediate -> next()

						#console.log output.join(" | "), output.length,".--"
						#process.stdout.clearLine()
						output.push "zmq : " + s_wk._zmq.pending
						output.push "mem : " + (if os.freemem() < (config.minMem * 1048576) then "Ok" else "notOk")
						if canprogress
							process.stdout.cursorTo(60)
							process.stdout.write output.join(" | ")
