fixed regressions from zmq upgrade