fixes relating to pyzmq changes