DGIndex: Fix resource id