fixed mongo cursor