manage ensureIndex collection