Make publishCursor work