We refine a previous proposal for obtaining the multi-instanton partition function from the supersymmetric index of the 1d supersymmetric gauge theory on the worldline of D0-branes. We provide examples where the refinements are crucial for obtaining the correct result.