fixed uncompressInds