fix regression on cursors ioloop handler