fixed cursors in dump